package cn.com.thingo.hyintelligent.base.contract;

import cn.com.thingo.hyintelligent.base.BasePresenter;
import cn.com.thingo.hyintelligent.base.BaseView;
import cn.com.thingo.hyintelligent.model.bean.CommonBean;
import cn.com.thingo.hyintelligent.model.bean.RegisterBean;

public interface RegisterContract {

    interface View extends BaseView {
        void viewGetCode(CommonBean commonBean);

        void viewRegister(RegisterBean registerBean);

    }

    interface Presenter extends BasePresenter<RegisterContract.View> {
        void getCode(String telephone);

        void register(String password, String telephone, String code);

    }
}
